package com.ruiysoft.controller.sys.res;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruiysoft.entity.sys.SysShopModuleRelation;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

import java.util.Date;
import java.util.List;
import java.util.Objects;

/**
 * ShopResponse
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2018-10-28T15:44:49.584+08:00")

public class ShopResponse   {

  @JsonProperty("id")
  private Long id = null;

  @JsonProperty("shopName")
  private String shopName = null;

  @JsonProperty("shopImg")
  private String shopImg = null;

  @JsonProperty("brandIntroduction")
  private String brandIntroduction = null;

  @JsonProperty("officialWebsite")
  private String officialWebsite = null;

  @JsonProperty("telephone")
  private String telephone = null;

  @JsonProperty("shopAddress")
  private String shopAddress = null;

  private Date expiryTime = null;

  private Integer vipLeve = null;

  @JsonProperty("modules")
  private List<SysShopModuleRelation>  moduleList;

  public ShopResponse shopName(String shopName) {
    this.shopName = shopName;
    return this;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public ShopResponse id(Long id) {
    this.id = id;
    return this;
  }
  /**
   * Get shopName
   * @return shopName
  **/
  @ApiModelProperty(example = "化增光", value = "")


  public String getShopName() {
    return shopName;
  }

  public void setShopName(String shopName) {
    this.shopName = shopName;
  }

  public ShopResponse shopImg(String shopImg) {
    this.shopImg = shopImg;
    return this;
  }

  /**
   * Get shopImg
   * @return shopImg
  **/
  @ApiModelProperty(example = "http://c.hiphotos.baidu.com/image/pic/item/b2de9c82d158ccbffea08a4c14d8bc3eb13541a3.jpg", value = "")


  public String getShopImg() {
    return shopImg;
  }

  public void setShopImg(String shopImg) {
    this.shopImg = shopImg;
  }

  public ShopResponse brandIntroduction(String brandIntroduction) {
    this.brandIntroduction = brandIntroduction;
    return this;
  }

  /**
   * Get brandIntroduction
   * @return brandIntroduction
  **/
  @ApiModelProperty(example = "我是店铺简介", value = "")


  public String getBrandIntroduction() {
    return brandIntroduction;
  }

  public void setBrandIntroduction(String brandIntroduction) {
    this.brandIntroduction = brandIntroduction;
  }

  public ShopResponse officialWebsite(String officialWebsite) {
    this.officialWebsite = officialWebsite;
    return this;
  }

  /**
   * Get officialWebsite
   * @return officialWebsite
  **/
  @ApiModelProperty(example = "我是 店铺官网", value = "")


  public String getOfficialWebsite() {
    return officialWebsite;
  }

  public void setOfficialWebsite(String officialWebsite) {
    this.officialWebsite = officialWebsite;
  }

  public ShopResponse telephone(String telephone) {
    this.telephone = telephone;
    return this;
  }

  /**
   * Get telephone
   * @return telephone
  **/
  @ApiModelProperty(example = "13691226986", value = "")


  public String getTelephone() {
    return telephone;
  }

  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }

  public ShopResponse shopAddress(String shopAddress) {
    this.shopAddress = shopAddress;
    return this;
  }

  /**
   * Get shopAddress
   * @return shopAddress
  **/
  @ApiModelProperty(example = "我是店铺地址", value = "")


  public String getShopAddress() {
    return shopAddress;
  }

  public void setShopAddress(String shopAddress) {
    this.shopAddress = shopAddress;
  }

  public Date getExpiryTime() {
    return expiryTime;
  }

  public ShopResponse setExpiryTime(Date expiryTime) {
    this.expiryTime = expiryTime;
    return this;
  }

  public Integer getVipLeve() {
    return vipLeve;
  }

  public ShopResponse setVipLeve(Integer vipLeve) {
    this.vipLeve = vipLeve;
    return this;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ShopResponse shopResponse = (ShopResponse) o;
    return Objects.equals(this.shopName, shopResponse.shopName) &&
        Objects.equals(this.shopImg, shopResponse.shopImg) &&
        Objects.equals(this.brandIntroduction, shopResponse.brandIntroduction) &&
        Objects.equals(this.officialWebsite, shopResponse.officialWebsite) &&
        Objects.equals(this.telephone, shopResponse.telephone) &&
        Objects.equals(this.shopAddress, shopResponse.shopAddress);
  }

  public List<SysShopModuleRelation> getModuleList() {
    return moduleList;
  }

  public ShopResponse setModuleList(List<SysShopModuleRelation> moduleList) {
    this.moduleList = moduleList;
    return this;
  }

  @Override
  public int hashCode() {
    return Objects.hash(shopName, shopImg, brandIntroduction, officialWebsite, telephone, shopAddress);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ShopResponse {\n");
    
    sb.append("    shopName: ").append(toIndentedString(shopName)).append("\n");
    sb.append("    shopImg: ").append(toIndentedString(shopImg)).append("\n");
    sb.append("    brandIntroduction: ").append(toIndentedString(brandIntroduction)).append("\n");
    sb.append("    officialWebsite: ").append(toIndentedString(officialWebsite)).append("\n");
    sb.append("    telephone: ").append(toIndentedString(telephone)).append("\n");
    sb.append("    shopAddress: ").append(toIndentedString(shopAddress)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

